import {ElSwitchCustomerEvents, ElSwitchCustomerExtend, ElSwitchCustomerProps} from "./index.ts"
import {SwitchEmits, SwitchProps} from "element-plus"
import {FormRender} from "../../../index.ts"

type ElSwitchProps = ElSwitchCustomerProps & SwitchProps

type ElSwitchEvents = ElSwitchCustomerEvents & SwitchEmits

type ElSwitchExtend = ElSwitchCustomerExtend

export type ElSwitch<Prop> = FormRender<'el-switch', Prop, ElSwitchProps, ElSwitchEvents> & ElSwitchExtend
